package com.wnxy.portal.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wnxy.portal.entity.Order;
import com.wnxy.portal.model.vo.CartVo;
import com.wnxy.portal.model.vo.OrderVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Jet
 * @since 2023-12-11
 */
public interface IOrderService extends IService<Order> {

    void submitOrder(Long userId, Integer addressId, CartVo cartVo);

    List<OrderVo> queryWaitPay(String userId);

    void pay(Long orderId);
}
